#include<iostream>
#include"List.cpp"
using namespace std;
int Point::count = 0;
Point::Point(int a, int b)
{
	x = a;
	y = b;
	count++;
}
Point:: Point(Point& p)
{
	x = p.x;
	y = p.y;
	count++;
}
Point::~Point()
{
	count--;
}
int Point::getX()
{
	return x;
}
int Point::getY()
{
	return y;
}
void Point::showCount()
{
	cout << "The object count is " << count << endl;
}